import {createRouter, createWebHistory} from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({

    history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/',
            name: 'login',
            component: () => import('../views/Login.vue'),
        },
        {
            path: '/about',
            name: 'about',
            component: () => import('../views/AboutView.vue'),
        },
        {
            path: '/home',
            name: 'home',
            component: () => import('../views/HomeView.vue'),
        },
        {
            path: '/upload',
            name: 'upload',
            component: () => import('../views/UploadView.vue'),
        },
        {
            path: '/QqLogin',
            name: 'QqLogin',
            component: () => import('../views/QqLogin.vue'),
        },
        {
            path: '/verify-process',
            name: 'VerifyProcess',
            component: () => import('../views/VerifyProcess.vue'),
        },
        {
            path: '/upload',
            name: 'upload',
            component: () => import('../views/UploadView.vue'),
        },
        {
            path: '/map',
            name: 'MapView',
            component: () => import('../views/MapView.vue'),
        },
        {
            path: '/companyList',
            name: 'CompanyList',
            component: () => import('../home_views/CompanyList.vue'),
        },
        {
            path: '/jobList',
            name: 'jobList',
            component: () => import('../home_views/JobList.vue'),
        },
        {
            path: '/jobVue',
            name: 'JobVue',
            component: () => import('../home_views/JobVue.vue'),
        },
        {
            path: '/discover',
            name: 'Discover',
            component: () => import('../views/Discover.vue'),
        },
        {
            path: '/resume/edit',
            name: 'ResumeEditor',
            component: () => import('../components/ResumeEditor.vue'),
        },
        {
            path: '/resume/template',
            name: 'Template',
            component: () => import('../components/Template.vue'),
        },
        {
            path: '/emp',
            name: 'Emp',
            component: () => import('../components/Emp.vue'),
        },
        {
            path: '/messages',
            name: 'Messages',
            component: () => import('../components/Messages.vue'),
        },
        {
            path: '/resume/upload',
            name: 'Uploadfx',
            component: () => import('../components/Uploadfx.vue'),
        },
        {
            path: '/hrHome',
            name: 'HrHome',
            component: () => import('../views/hr/HrHomeView.vue'),
        },
        {
            path: '/relaystation',
            name: 'relaysta tion',
            component: () => import('../views/RelayStation.vue'),
        },
        {
            path: '/resume/interviewSetup',
            name: 'InterviewSetup',
            component: () => import('../home_views/InterviewSetup.vue'),
        },
        {
            path: '/aiHome',
            name: 'AiHomeView',
            component: () => import('../AI/AiHomeView.vue'),
        },
        {
            path: '/chat/:id',
            name: 'chat',
            component: () => import('../AI/ChatView.vue'),
        },
        {
            path: '/companyDetail',
            name: 'CompanyDetailView',
            component: () => import('../home_views/CompanyDetailView.vue'),
        },
        {
            path: '/hrMessage',
            name: 'HrMessage',
            component: () => import('../views/hr/HrMessage.vue'),
        },
        {
            path: '/recommend',
            name: 'RecommendPerson',
            component: () => import('../views/hr/RecommendPerson.vue'),
        },
         {
            path: '/user/profile',
            name: 'profile',
            component: () => import('../user/ProFile.vue'),
        },
         {
          path: '/AIRecruit',
          name: 'AIRecruitAssistant',
          component: () => import('../hr_views/AIRecruitAssistant.vue'),
        },
        {
          path: '/aiHR',
          name: 'aiHr',
          component: () => import('../hr_views/AIRecruitHR.vue'),
        },
        {
            path: '/aiUser',
            name: 'aiUser',
            component: () => import('../hr_views/AIRecruitUser.vue')
        }
    ],

})

export default router
